fix two warnings
authorSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Oct 2014 17:33:05 +0000 (13:33 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Oct 2014 17:33:05 +0000 (13:33 -0400)
src/cargo/core/manifest.rs

index e274dbbc260a79ce7b080df4c1bb0e883d09549c..c816499cacae3f9de20bbaf7fcfe18b28fd4cb26 100644 (file)
@@ -290,8 +290,8 @@ impl<H: hash::Writer> hash::Hash<H> for Profile {
             debug,
             rpath,
             plugin,
-            dest: ref dest,
-            harness: harness,
+            ref dest,
+            harness,
 
             // test flags are separated by file, not by profile hash, and
             // env/doc also don't matter for the actual contents of the output